package com.df.twod_sync_bakend.model;

import lombok.Data;

@Data
public class Player {
    private String uid;
    private Float posX = 0.0f;
    private Float posY = 0.0f;
    private Float velocityX = 0.0f;
    private Float velocityY = 0.0f;
    private Float rotation = 0.0f;
    private Integer lastProcessedSequence = 0;
    private Long lastActivityTime = System.currentTimeMillis();
    private Float moveSpeed = 300.0f;

    public Player(String playerId, float posX, float posY) {
        this.uid = playerId;
        this.posX = posX;
        this.posY = posY;
    }
}